<template>
  <div class="app">
    <h1>app</h1>
  </div>
</template>
<!-- <script>
import { getCurrentInstance } from 'vue'
export default {
  data() {
    return {}
  },
  created() {
    console.log(this.$http)
  },
  setup() {
    // console.log(this.$http)
    const instance = getCurrentInstance()
    console.log(instance.appContext.config.globalProperties.$http)
  },
}
</script> -->

<script setup>
import { getCurrentInstance } from 'vue'
const instance = getCurrentInstance()
console.log(instance.appContext.config.globalProperties.$http)
</script>
<style
  lang="scss"
  scoped
></style>
